import React, { Component } from 'react'
import ow from "../../JSON/ow.json"
import "./Ow.css"

export default class HeroList extends Component {
    state = {
        data: []
    }
    render() {
        return (
            <div className="ow-list">
                {
                    ow.map((item, index) => {
                        return <div key={index} className="item-wrap">
                            <img src={item.minipic} alt="" />
                            <div className="info">
                                <p>{item.heroname}</p>
                                <p>{item.type}</p>
                            </div>
                        </div>
                    })
                }
            </div>
        )
    }

}
